{template 'header'}
<script type="text/javascript">var module_id= {$moduleid},item_id={$itemid},content_id='content',img_max_width={$MOD[max_width]};</script>
<div class="m m3">
	<div class="m3l">
	<h1 class="title" id="title">{$title}</h1>
	<div class="info"><span class="f_r"><img src="{DT_SKIN}image/ico-zoomin.png" width="16" height="16" title="放大字体" class="c_p" onclick="fontZoom('+', 'article');"/>&nbsp;&nbsp;<img src="{DT_SKIN}image/ico-zoomout.png" width="16" height="16" title="缩小字体" class="c_p" onclick="fontZoom('-', 'article');"/></span>
	日期：{$adddate}&nbsp;&nbsp;&nbsp;&nbsp;
	{if $copyfrom}来源：{if $fromurl}<a href="{$fromurl}" target="_blank">{/if}{$copyfrom}{if $fromurl}</a>{/if}&nbsp;&nbsp;&nbsp;&nbsp;{/if}
	</div>
	{if $introduce && $user_status == 3 && $page == 1}<div class="introduce">核心提示：{$introduce}</div>{/if}
	{if $CP}{template 'property_show', 'chip'}{/if}
	<div id="content">{template 'content', 'chip'}</div>
	{if $voteid}<div class="pd20">{loop $voteid $v}
	{load('vote_'.$v.'.htm')}{/loop}</div>
	{/if}
	{if $pages}<div class="pages">{$pages}</div>{/if}
	<div class="b20 c_b">&nbsp;</div>	
	{if $subtitles}
	<div class="subtitle">
	<strong>本文导航：</strong>
	<ul>
	{loop $titles $i $t}
	{if $subtitles > $i}
	<li>
	({php echo $i+1;})
	{if $page == $i+1}
	<strong>{$t}</strong>
	{else}
	<a href="{$MOD[linkurl]}{if $i}{itemurl($item, $i+1)}{else}{$item[linkurl]}{/if}" title="{$t}">{$t}</a>
	{/if}
	</li>
	{/if}
	{/loop}
	</ul>
	<div class="c_b"></div>
	</div>
	{/if}
	{if $keytags}
	<div class="keytags">
	<strong>标签：</strong>
	{loop $keytags $t}
	<a href="{$MOD[linkurl]}{rewrite('search.php?kw='.urlencode($t))}" target="_blank" class="b">{$t}</a>
	{/loop}
	</div>
	{/if}
	<br/>
	</div>
	<div class="m3r">
	</div>
	<div class="c_b"></div>
</div>
{if $content}<script type="text/javascript" src="{DT_STATIC}file/script/content.js"></script>{/if}
<style type="text/css">
.zheng-text{overflow:scroll !important;}
</style>
<script>
        var u = navigator.userAgent;
        var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
        if (isiOS) {
            document.querySelector('body').style['-webkit-text-size-adjust'] = '100% !important;'
        } else {
            (function () {
                if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
                    handleFontSize();
                } else {
                    if (document.addEventListener) {
                        document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
                    } else if (document.attachEvent) {
                        document.attachEvent("WeixinJSBridgeReady", handleFontSize);
                        document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
                    }
                }
                function handleFontSize() {
                    WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize': 0 });
                    WeixinJSBridge.on('menu:setfont', function () {
                        WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize': 0 });
                    });
                }
            })();
        }        
    </script>
{template 'footer'}
